import request from '@/utils/request'

// 查询标注软件反馈列表
export function listFeedback(query) {
  return request({
    url: '/mark/feedback/list',
    method: 'get',
    params: query,
  })
}

// 查询标注软件反馈详细
export function getFeedback(id) {
  return request({
    url: '/mark/feedback/' + id,
    method: 'get',
  })
}

// 新增标注软件反馈
export function addFeedback(data) {
  return request({
    url: '/mark/feedback',
    method: 'post',
    data: data,
  })
}

// 修改标注软件反馈
export function updateFeedback(data) {
  return request({
    url: '/mark/feedback',
    method: 'put',
    data: data,
  })
}

// 删除标注软件反馈
export function delFeedback(id) {
  return request({
    url: '/mark/feedback/' + id,
    method: 'delete',
  })
}

// 导出标注软件反馈
export function exportFeedback(query) {
  return request({
    url: '/mark/feedback/export',
    method: 'get',
    params: query,
  })
}
